const userRouter = require("express").Router();
const userController = require("../../controller/user/index");

userRouter
	.get("/", userController.getUserList) // 添加用户
	.post("/", userController.addUser) // 添加用户
	.put("/", userController.updateUser) // 更新用户
	.delete("/", userController.deleteUser); // 删除用户

module.exports = userRouter;
